﻿using net.entity.framework;

namespace net.entity.sandBag.entities {
    public partial class RoleRef : EntityRef {}

    public partial class Role : Entity {
        #region Members

        private string roleType;

        #endregion

        #region Properties

        public string RoleType {
            get { return roleType; }
            set {
                CheckLock();
                roleType = value;
            }
        }

        #endregion

        #region Constructor

        public Role() {}

        public Role(bool isDeleted, int id, int typeId, int revision, string roleType)
            : base(isDeleted, id, typeId, revision) {
            this.roleType = roleType;
        }

        #endregion
    }
}